<?php
use app\assets\DocAsset;
use yii\widgets\Breadcrumbs;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\web\View;
DocAsset::register($this);
$this->registerJsFile(YII_ENV_PROD ? "//cdn.vamaker.com/static/modernizr-2.8.3.min.js" : Yii::getAlias('@web/').Yii::$app->params['envDir']."/js/libs/modernizr-2.8.3.min.js", ['position' => View::POS_HEAD]);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
  <meta charset="utf-8">
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
  <meta http-equiv="Cache-Control" content="no-siteapp">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="shortcut icon" href="<?= Yii::getAlias('@web');?>/favicon.ico">
  <?= Html::csrfMetaTags() ?>
  <title><?= Html::encode($this->title) ?></title>
 	<meta name="keywords" content="<?=\Yii::$app->params['sysMsg']['lowercompany']?>,ssp,advertisement">
  <meta name="description" content="<?=\Yii::$app->params['sysMsg']['company']?> Ad Server">
  <meta name="author" content="<?=\Yii::$app->params['sysMsg']['company']?> Company">
  <?php $this->head() ?>
  <!-- [if lt IE 9]>
	  <script src="<?= Yii::getAlias('@web/').Yii::$app->params['envDir'];?>/js/libs/html5.js"></script>
    <script src="<?= Yii::getAlias('@web/').Yii::$app->params['envDir'];?>/js/libs/excanvas.min.js"></script>
    <script src="<?= Yii::getAlias('@web/').Yii::$app->params['envDir'];?>/js/libs/respond.min.js"></script>
	<![endif] -->
</head>
<body>
  <?php $this->beginBody() ?>
  <div class="wrap">
    <div class="container">
      <!-- breadcrumbs -->
      <?= Breadcrumbs::widget([
          'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
          'homeLink' => [
            'encode' => false,
            'label' => '<i class="fa fa-book"></i> '.\Yii::t('footer','Document')
          ]
      ]) ?>
      <!-- /breadcrumbs -->
      <?= $content ?>
    </div>
  </div>

  <?= $this->render('_footer') ?>

  <?= $this->render('_backToTop') ?>

  <?php $this->endBody() ?>

  <?= $this->render('_baiduAnalytics') ?>
</body>
</html>
<?php $this->endPage() ?>
